<?php session_start();
//unset($_SESSION['evento']);
if (empty($_SESSION['nombre']))
	echo "<meta http-equiv='Refresh' content='0;url=../../index.php'>";
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Adm de usuarios</title>
    <link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet">
     <script type="text/javascript" src="../../bootstrap/scripts/scripts.js"></script>
     <script type="text/javascript" src="../../bootstrap/scripts/scripts2.js"></script>
     <script type="text/javascript" src="../../bootstrap/scripts/jquery.js"></script>
     
     <script type="text/javascript" src="../../bootstrap/scripts/md5.js"></script>
<link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="../../bootstrap/css/view.css" rel="stylesheet">
<script type="text/javascript" src="../../bootstrap/scripts/view.js"></script>
<script type="text/javascript" src="../../bootstrap/scripts/jquery.js"></script>
<script type="text/javascript" src="../../bootstrap/scripts/scripts4.js"></script>

<link href="../bootstrap/css/cupertino/jquery.ui.all.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../../bootstrap/js/bootstrap.min.js"></script>  
<script type="text/javascript" src="../../bootstrap/js/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="../../bootstrap/js/jquery.ui.datepicker.min.js"></script>
     
     
     
     
  </head>
<body >
<div id="a_header">
		<div class="container">
			<div class="row">
				<div class="span10">
					
					<img src="../../imagenes/CRM HV alta.png" width="175" height="110"  style="float:left;" alt="" />					</a>
					<div style="display:inline-block; margin-top:20px;">
						<h3 style="margin:0px;">Sistema de Administraci&oacute;n y Gesti&oacute;n de Clientes (CRM)</h3>
					</div>
				</div>
			<div class="btn-group pull-right upan">
						  <button type="button" class="btn btn-primary" id ="drop"><span class= "glyphicon glyphicon-user"><?php if (! empty($_SESSION['nombre'])) echo("   ". $_SESSION['user']);?></span></button>
						  <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" id="drop2">
						    <span class="caret"></span>
						  </button>
						  
						  <ul class="dropdown-menu" role="menu">
						  
						    <li><a href="../../TableroInicio.php" title="Tablero Principal">Inicio</a></li>
						     <li class="divider"></li>
						    <li><a href="../../cerrar_sesion.php" title="Cerrar sesi&oacute;n">Salir</a></li>
						  </ul>
					</div>
					
				
			</div>
		</div>
 	</div> 
<div style="background-color:#0455A7; height:3px;"></div>	<!--  fin header -->

<div class="container" style= "width: 70%">
	<div>
		<h3>Busqueda y Actualizaci&oacute;n de usuarios.</h3>
		<nav class="navbar navbar-default" role="navigation">
			 <form class="navbar-form navbar-left" id="formulario" method="post" action="" onsubmit="traerTabla(); return false" style="background-color: #f2f9f2">
			 		<div class="form-group">
		              	<input type="text" maxlength="255" placeholder="Su busqueda.." class="form-control" id="textofiltro">
		            </div>
	            	<div class="checkbox">
					    <label>
					      <input type="checkbox" id="nombre" checked><small>Nombre</small>
					    </label>
				  	</div>
				  	<div class="checkbox">
					    <label>
					      <input type="checkbox" id="apellido"><small>Apellido</small>
					    </label>
				  	</div>
				  	<div class="checkbox">
					    <label>
					      <input type="checkbox" id="cedula"><small>C&eacute;dula</small>
					    </label>
				  	</div>
				  	<div class="checkbox">
					    <label>
					      <input type="checkbox" id="rol"><small>Rol</small>
					    </label>
				  	</div>
	            <button type="submit" class="btn btn-success" id="buscar">Buscar &raquo</button>
	            <button type="button" class="btn btn-warning" id="cancelar">&laquo Regresar</button>
          </form>
		</nav>
	</div>
</div>
	<div class="container" style="min-height:300px;">
	<div id="tabla">
	</div>
	</div>
<!--  footer -->
   
    <footer style="margin-top: 20px; background-color:#FFF;">
		<div style="background-color:#00f; height:5px;"></div>
        <div class="container" style="height:100px;">
			<div class="row">
				<div class="span2" style="float:right;">
					<p style="">Desarrollado por:</p>
					<a href="http://www.3tech-panama.com"><img src="../../imagenes/3techpaylogo.png"alt="3tech panama" style="width:134px; height:50px; float:right;" /></a>
			   </div>
			</div>
		</div>
        <div style="background-color:#0000FF; height:25px;">
            <div class="container" >
                <p style="margin-left: 10px; color:#FFF;">Copyright &copy; 2013 HOSANNA. Todos los derechos reservados. </p>
            </div>
        </div>	
    </footer>
</body>
</html>